<template>
  <iframe class="iframe" :src="src"/>
</template>

<script>
export default {
  data() {
    return {
      src: ""
    };
  },
  created() {
    this.src = this.$route.query.src;
  }
};
</script>

<style lang="scss">
.iframe {
  width: 100%;
  border: none;
  height: 100%;
}
</style>
